<?php
class CreatePostForm extends MForm {
    public function __construct() {
        parent::__construct(__route('ml-microblog/post/create'));
        $this->setMethod(self::METHOD_POST);
        $this->add(self::ELEMENT_TEXTAREA, 'postContent')
                ->setLabel(__t('mandrill.microblog.post.write'))
                ->setId('texPostContent')
                ->setHtmlOption('cols', '70')
                ->setHtmlOption('rows', '4');
        $this->add(self::ELEMENT_SUBMIT, 'butSubmitPost');
    }
}
?>
